import java.util.Scanner;

public class lc {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入一个四位数：");
       int  a= scanner.nextInt();
        if(a>999&&a<9999);
        System.out.println("该数字是正确的年份");
        if(a%4==0||a%400==0&&a%100==0);
        System.out.println(a+":是闰年");
    }
}
